﻿@ChildContent

@code {

    [Parameter]
    public RenderFragment ChildContent { get; set; }

    [CascadingParameter]
    private List<Tab> Items { get; set; }

    protected override void OnInitialized()
    {
        base.OnInitialized();

        if (Items != null)
        {
            Items.Add(this);
        }
    }
}
